package io.seata.sharding4.account.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.seata.sharding4.account.entity.Account;
import io.seata.sharding4.common.dto.AccountDTO;
import io.seata.sharding4.common.response.ObjectResponse;

/**
 * 服务类
 *
 * @author Administrator
 */
public interface IAccountService extends IService<Account> {
    /**
     * 扣用户钱
     *
     * @param accountDTO
     * @return ObjectResponse
     */
    ObjectResponse decreaseAccount(AccountDTO accountDTO);
}
